package dao.impl;

import dao.BaseDao;
import dao.goods;
import entity.Goods;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

public class mubandaoimpl extends BaseDao implements goods {

    ResultSet rd=null;

    @Override
    public List<Goods> selectGoods() {
        List<Goods> list=new ArrayList<>();
        String sql="select * FROM goods";
        try {
            rs=super.executeQuery(sql,null);
            while (rs.next()){
                Goods gd=new Goods();

            }
        } catch (SQLException throwables) {
            throwables.printStackTrace();
        }
        return list;
    }
}
